﻿using AnQinManagermentBackendAPI.Common;

namespace AnQinManagermentBackendAPI.Model.DTO.Project
{
    /// <summary>
    /// 项目表模型 - 搜索
    /// </summary>
    public class ProjectSearchDTO
    {
        /// <summary>
        /// 项目编码
        /// </summary>
        public string? Code { get; set; }

        /// <summary>
        /// 项目名称
        /// </summary>
        public string? Name { get; set; }

        /// <summary>
        /// 员工Id
        /// </summary>
        public string? StaffId { get; set; }

        /// <summary>
        /// 客户Id
        /// </summary>
        public string? CustomerId { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public StateEnum.ProjectStateEnum? State { get; set; }

        /// <summary>
        /// 创建时间 - 起始
        /// </summary>
        public DateTime? StartTime { get; set; }

        /// <summary>
        /// 创建时间 - 结束
        /// </summary>
        public DateTime? endTime { get; set; }

        /// <summary>
        /// 页码
        /// </summary>
        public int CurrentPage { get; set; }

        /// <summary>
        /// 每页数据条
        /// </summary>
        public int PageSize { get; set; }
    }
}
